package com.appkubes.portal.admin.config.auth;

import org.keycloak.adapters.springboot.KeycloakSpringBootConfigResolver;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Author: Rongjie
 * @Date: 2020/1/28 18:40
 * @Description:
 */
@Configuration
public class KeycloakConfig {

    //获取keycloak.json的配置
    @Bean
    public KeycloakSpringBootConfigResolver keycloakConfigResolver() {
        return new KeycloakSpringBootConfigResolver();
    }
}
